The top overlap is accidentally being applied to the left edge right
now, fix that and apply it correctly to the top edge.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1698>
if (containerBox) {
const [topOverlap, bottomOverlap] = window.overlapHeights();
- containerBox.x1 += leftOversize + topOverlap;
+ containerBox.x1 += leftOversize;
containerBox.x2 -= rightOversize;
- containerBox.y1 += topOversize;
+ containerBox.y1 += topOversize + topOverlap;
containerBox.y2 -= bottomOversize + bottomOverlap;
}